package com.cookiesoft.order.domain;

    import java.math.BigDecimal;
    import java.util.Date;
    import com.fasterxml.jackson.annotation.JsonFormat;
import com.cookiesoft.common.core.domain.BaseEntity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.cookiesoft.common.annotation.Excel;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 订单，存储用户订单信息对象 zhen_orders
 *
 * @author anc
 * @date 2024-11-06
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@TableName(resultMap = "com.cookiesoft.order.mapper.ZhenOrdersMapper.ZhenOrdersResult")
public class ZhenOrders extends BaseEntity {
private static final long serialVersionUID = 1L;

        /** 订单ID */
        private Long orderId;

        /** 订单创建者的ID */
                @Excel(name = "订单创建者的ID" )
        private Long createId;

        /** 订单结束日期 */
                @JsonFormat(pattern = "yyyy-MM-dd" )
                @Excel(name = "订单结束日期" , width = 30, dateFormat = "yyyy-MM-dd" )
        private Date endTime;

        /** 订单状态 */
                @Excel(name = "订单状态" )
        private String status;

        /** 订单总金额 */
                @Excel(name = "订单总金额" )
        private BigDecimal totalAmount;


}
